<table border="0"  cellpadding="0" cellspacing="0" width="100%">
<tr><td align="center">
<div id="{$sJsDiv|default:'jsErr'}">
{foreach from=$aErrors item=sError}
    <span class="message_error">{$sError}</span><br />
{/foreach}
{foreach from=$aSessErr item=sError}
   <span class="message_{if $bSessErr}error{else}info{/if}">{$sError|nl2br}</span><br />
{/foreach}
</div></td>
</tr>
</table>